<?php
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');

class RestaurantsViewComment extends JView
{
	function display($tpl = null)
	{
		$row =& JTable::getInstance('Comment', 'Table');
		$cid = JRequest::getVar( 'cid', array(0), '', 'array' );
		$id = $cid[0];
		$row->load($id);
		$this->assignRef('row', $row);
		
		parent::display($tpl);
	}
}
